home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 4 (Reseller)
/
Apple Ref. & Pres. Lib.v4.0.iso
/
4-Demos
/
Third Party Demos
/
DTMedia
/
HyperAnimation
/
HyperAnimation Demo
/
HyperAnimation Demo
/
card_13654.txt
< prev
next >
Wrap
Text File
|
1990-04-09
|
2KB
|
116 lines
-- card: 13654 from stack: in
-- bmap block id: 13878
-- flags: 0000
-- background id: 12523
-- name: typeText
----- HyperTalk script -----
on openCard
global idletime
set userModify to true
put empty into card field "typeText"
click at the topLeft of card field "typeText"
put the ticks into idletime
end openCard
on closeCard
visual effect dissolve
put empty into card field "typeText"
end closeCard
on idle
global idlewait, idletime
get the ticks
if it - idletime > idlewait then
if cd fld 1 is empty then
put "Welcome to the Show" into cd fld 1
end if
speakField
else pass idle
end idle
on speakField
global actorFlag
global idletime
RAVE "{SPEED 170}"
RAVE "{PITCH 150}"
put card field 1 into temp
go card "typeText2"
put temp into card field "temp"
if actorFlag is false then
RAVE "{ACTOR lilJonathan at 192,36}"
put true into actorFlag
end if
RAVE "{SHOW lilJonathan}"
RAVE card field "temp"
do card field "pretty" of card "BigJ"
wait 5
RAVE "{EXPRESS A5}" -- smile
wait 1 second
do card field "thank" of card "BigJ"
wait 20
do card field "would" of card "BigJ"
go to card "typetext3"
put the ticks into idletime
end speakField
-- part 1 (field)
-- low flags: 00
-- high flags: 2002
-- rect: left=63 top=159 right=259 bottom=444
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 33
-- text size: 18
-- style flags: 256
-- line height: 24
-- part name: typeText
----- HyperTalk script -----
on returnInField
speakField
end returnInField
-- part 4 (field)
-- low flags: 80
-- high flags: 0001
-- rect: left=57 top=50 right=275 bottom=462
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: cannedSpeech
-- part 5 (button)
-- low flags: 80
-- high flags: 8003
-- rect: left=100 top=282 right=333 bottom=425
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Hide Canned Speech
----- HyperTalk script -----
on mouseUp
hide card field "cannedSpeech"
hide me
end mouseUp
-- part contents for card part 4
----- text -----
Welcome to the Macworld Expo.